$OpenBSD: patch-build_xml,v 1.1.1.1 2014/09/30 17:44:48 abieber Exp $
--- build.xml.orig	Mon Dec  2 12:50:04 2013
+++ build.xml	Mon Sep 29 13:37:08 2014
@@ -7,7 +7,6 @@
 	<import file="platform_build/build-applet.xml"/>
 	<import file="platform_build/build-webstart.xml"/>
 	<import file="platform_build/build-maven.xml"/>
-	<import file="eclipse-update/org.lwjgl.build/build-updatesite.xml"/>
 
 	<!-- ================================================================== -->
 	<!-- Everything below this line is targets.								-->
@@ -33,6 +32,7 @@
 		<mkdir dir="${lwjgl.temp}/native/windows"   taskname="initialiazing temp/windows folder" />
 		<mkdir dir="${lwjgl.temp}/native/linux"     taskname="initialiazing temp/linux folder" />
 		<mkdir dir="${lwjgl.temp}/native/freebsd"   taskname="initialiazing temp/freebsd folder" />
+		<mkdir dir="${lwjgl.temp}/native/openbsd"   taskname="initialiazing temp/openbsd folder" />
 		<mkdir dir="${lwjgl.temp}/native/macosx"    taskname="initialiazing temp/macosx folder" />
 		<mkdir dir="${lwjgl.temp}/native/solaris"   taskname="initialiazing temp/solaris folder" />
 	</target>
@@ -249,6 +249,11 @@
 				<patternset refid="lwjgl-freebsd.fileset" />
 			</fileset>
 		</copy>
+		<copy todir="${lwjgl.temp}/native/openbsd" failonerror="false">
+			<fileset dir="${lwjgl.lib}/openbsd">
+				<patternset refid="lwjgl-openbsd.fileset" />
+			</fileset>
+		</copy>
 		<copy todir="${lwjgl.temp}/native/macosx">
 			<fileset dir="${lwjgl.lib}/macosx">
 				<patternset refid="lwjgl-macosx.fileset" />
@@ -423,6 +428,8 @@
 			lwjgl.native.linux.version = ${lwjgl.native.linux.version}
 			lwjgl.java.freebsd.version = ${lwjgl.java.linux.version}
 			lwjgl.native.freebsd.version = ${lwjgl.native.linux.version}
+			lwjgl.java.openbsd.version = ${lwjgl.java.linux.version}
+			lwjgl.native.openbsd.version = ${lwjgl.native.linux.version}
 			lwjgl.java.macosx.version = ${lwjgl.java.macosx.version}
 			lwjgl.native.macosx.version = ${lwjgl.native.macosx.version}
 		</echo>
@@ -487,6 +494,11 @@
 		</condition>
 		<antcall target="-compile_native_freebsd" />
 
+		<condition property="lwjgl.platform.openbsd">
+			<os name="OpenBSD" />
+		</condition>
+		<antcall target="-compile_native_openbsd" />
+
 		<condition property="lwjgl.platform.solaris">
 			<os name="SunOS" />
 		</condition>
@@ -520,6 +532,14 @@
 	<target name="-compile_native_freebsd" if="lwjgl.platform.freebsd">
 		<ant antfile="platform_build/bsd_ant/build.xml" inheritAll="false"/>
 		<copy todir="${lwjgl.lib}/freebsd">
+			<fileset dir="${lwjgl.bin}/lwjgl" includes="liblwjgl*.so"/>
+		</copy>
+	</target>
+
+	<!-- Compiles LWJGL on OpenBSD platforms -->
+	<target name="-compile_native_openbsd" if="lwjgl.platform.openbsd">
+		<ant antfile="platform_build/bsd_ant/build.xml" inheritAll="false"/>
+		<copy todir="${lwjgl.lib}/openbsd">
 			<fileset dir="${lwjgl.bin}/lwjgl" includes="liblwjgl*.so"/>
 		</copy>
 	</target>
